//
//  FlagModel.m
//  CollectionFlag
//
//  Created by student on 16/3/9.
//  Copyright © 2016年 NIIT. All rights reserved.
//

#import "FlagModel.h"

@implementation FlagModel

- (instancetype)initWithDict:(NSDictionary *)d
{
    self = [super init];
    if (self) {
        [self setValuesForKeysWithDictionary:d];
    }
    return self;
}

+ (instancetype)flagWithDict:(NSDictionary *)d
{
    return [[self alloc] initWithDict:d];
}
@end
